package com.dailycodebuffer.springbootmongodb.collection;

import lombok.Builder;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

/**
 * (Supplier)实体类
 *
 * @author makejava
 * @since 2025-01-04 00:23:43
 */
@Data
@Builder
@Document(collection = "supplier")
public class Supplier implements Serializable {
    private static final long serialVersionUID = -97546274448482764L;

    @Id
    private Integer id;

    private String name;

    private String address;

    private String province;

    private String city;

    private String region;

    private String contact;

    private String phone;
}

